package com.futureCloudMOM.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.futureCloudMOM.core.entity.FBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Event_Category", description = "事件实体表")
@TableName(value = "Event_Category")
public class EventCategory extends FBaseEntity implements Serializable {


    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("事件名称")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "name")
    private String name;
    
    @ApiModelProperty("事件类型")
    @TableField(value = "typeId")
    private Long typeId;
    
    @ApiModelProperty("禁用标识")
    @TableField(value = "status")
    private Long status;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("备注")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "remark")
    private String remark;






}

